package cn.edu.gduf.luowowo.article.service.impl;

import cn.edu.gduf.luowowo.article.domain.DestinationDay;
import cn.edu.gduf.luowowo.article.mapper.DestinationDayMapper;
import cn.edu.gduf.luowowo.article.service.IDestinationDayService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class DestinationDayServiceImpl implements IDestinationDayService {
    @Autowired
    private DestinationDayMapper destinationDayMapper;



    @Override
    public DestinationDay get(Long id) {
        return destinationDayMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<DestinationDay> listAll() {
        return destinationDayMapper.selectAll();
    }







}
